<div class="row-content am-cf">
    <div class="row layui-form layui-form-pane">
        <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
            <div class="widget am-cf">
                <div class="widget-head am-cf">
                    <div class="widget-title am-cf">认证资料列表</div>
                </div>
                <div class="widget-body am-fr">
                    <div class="am-scrollable-horizontal am-u-sm-12">
                        <table width="100%" class="am-table am-table-hover tpl-table-black">
                            <thead>
                            <tr>
                                <th>用户ID</th>
                                <th>工商资料</th>
                                <th>法人资料</th>
                                <th>特殊资质</th>
                                <th>支付资料</th>
                                <th>联系方式</th>
								<th>注册时间</th>
                            </tr>
                            </thead>
                            <tbody>
                            <?php if (!$list->isEmpty()): foreach ($list as $item): ?>
                                <tr>
                                    <td class="am-text-middle"><?= $item['user_id'] ?></td>
                                    <td class="am-text-middle">
                                        <div class="goods-detail">
                                            <div class="goods-image">
                                                <a href="<?= $item['license_copy']['url']?>" target="_blank">
                                                <img src="<?= $item['license_copy']['url']?>" alt="">
                                                </a>
                                            </div>
                                            <div class="goods-info dis-flex flex-dir-column flex-x-center">
                                                <p class="goods-title"><?= $item['merchant_name'] ?: '--'?></p>
                                                <p class="goods-title">代码：<?= $item['license_number'] ?: '--'?></p>
                                            </div>
                                        </div>
                                    </td>
                                    <td class="am-text-middle">
                                        <div class="goods-detail">
                                            <div class="goods-image">
                                            <a href="<?= $item['id_card_copy']['url']?>" target="_blank">
                                                <img src="<?= $item['id_card_copy']['url']?>" alt="">
                                            </a>
                                            </div>
                                            <div class="goods-info dis-flex flex-dir-column flex-x-center">
                                                <p class="goods-title"><?= $item['id_card_name'] ?: '--'?></p>
                                                <p class="goods-title">号码：<?= $item['id_card_number'] ?: '--'?></p>
                                            </div>
                                        </div>
                                    </td>
                                    <td class="am-text-middle">
                                        <div class="goods-detail">
                                            <div class="goods-image">
                                            <a href="<?= $item['qualifications']['url']?>" target="_blank">
                                                <img src="<?= $item['qualifications']['url']?>" alt="">
                                            </a>
                                            </div>
                                        </div>
                                    </td>
                                    <td class="am-text-middle">
                                        <div class="goods-detail">
                                            <div class="goods-info dis-flex flex-dir-column flex-x-center">
                                                <p class="goods-title"><?= $item['bank_name'] ?: '--'?></p>
                                                <p class="goods-title">账号：<?= $item['account_number'] ?: '--'?></p>
                                            </div>
                                        </div>
                                    </td>
                                    <td class="am-text-middle">
                                        <div class="goods-detail">
                                            <div class="goods-info dis-flex flex-dir-column flex-x-center">
                                                <p class="goods-title">手机：<?= $item['mobile_phone'] ?: '--'?></p>
                                                <p class="goods-title">邮箱：<?= $item['contact_email'] ?: '--'?></p>
                                                <p class="goods-title">微信：<?= $item['legal_persona_wechat'] ?: '--'?></p>
                                            </div>
                                        </div>
                                    </td>
									<td class="am-text-middle"><?= $item['create_time'] ?></td>
                                </tr>
                            <?php endforeach; else: ?>
                                <tr>
                                    <td colspan="7" class="am-text-center">暂无记录</td>
                                </tr>
                            <?php endif; ?>
                            </tbody>
                        </table>
                    </div>
                    <div class="am-u-lg-12 am-cf">
                        <div class="am-fr"><?= $list->render() ?> </div>
                        <div class="am-fr pagination-total am-margin-right">
                            <div class="am-vertical-align-middle">总记录：<?= $list->total() ?></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>